From: Andrea Azzarone Date: Fri, 22 Jun 2018 12:20:44 +0000 (+0000) Subject: viewSelector: Ignore auto-repeat activation of toggle keybindigs X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~3^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1877a2e00a98166a33f0fbc28ecf1d3adf8798b3;p=gnome-shell.git viewSelector: Ignore auto-repeat activation of toggle keybindigs Use Meta.KeyBindingFlags.IGNORE_AUTOREPEAT for toggle-application-view and toggle-application-view keybindings. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/373 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 91bc222cf..2d5c33f4d 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -230,14 +230,14 @@ var ViewSelector = new Lang.Class({ Main.wm.addKeybinding('toggle-application-view', new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), - Meta.KeyBindingFlags.NONE, + Meta.KeyBindingFlags.IGNORE_AUTOREPEAT, Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW, this._toggleAppsPage.bind(this)); Main.wm.addKeybinding('toggle-overview', new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), - Meta.KeyBindingFlags.NONE, + Meta.KeyBindingFlags.IGNORE_AUTOREPEAT, Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW, Main.overview.toggle.bind(Main.overview));